package com.igeekhome.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DSpecificQuotationSheetExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DSpecificQuotationSheetExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSerialIdIsNull() {
            addCriterion("serial_id is null");
            return (Criteria) this;
        }

        public Criteria andSerialIdIsNotNull() {
            addCriterion("serial_id is not null");
            return (Criteria) this;
        }

        public Criteria andSerialIdEqualTo(Integer value) {
            addCriterion("serial_id =", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotEqualTo(Integer value) {
            addCriterion("serial_id <>", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdGreaterThan(Integer value) {
            addCriterion("serial_id >", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("serial_id >=", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdLessThan(Integer value) {
            addCriterion("serial_id <", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdLessThanOrEqualTo(Integer value) {
            addCriterion("serial_id <=", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdIn(List<Integer> values) {
            addCriterion("serial_id in", values, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotIn(List<Integer> values) {
            addCriterion("serial_id not in", values, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdBetween(Integer value1, Integer value2) {
            addCriterion("serial_id between", value1, value2, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotBetween(Integer value1, Integer value2) {
            addCriterion("serial_id not between", value1, value2, "serialId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdIsNull() {
            addCriterion("offer_type_id is null");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdIsNotNull() {
            addCriterion("offer_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdEqualTo(Integer value) {
            addCriterion("offer_type_id =", value, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdNotEqualTo(Integer value) {
            addCriterion("offer_type_id <>", value, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdGreaterThan(Integer value) {
            addCriterion("offer_type_id >", value, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("offer_type_id >=", value, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdLessThan(Integer value) {
            addCriterion("offer_type_id <", value, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("offer_type_id <=", value, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdIn(List<Integer> values) {
            addCriterion("offer_type_id in", values, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdNotIn(List<Integer> values) {
            addCriterion("offer_type_id not in", values, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("offer_type_id between", value1, value2, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andOfferTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("offer_type_id not between", value1, value2, "offerTypeId");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNull() {
            addCriterion("item_id is null");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNotNull() {
            addCriterion("item_id is not null");
            return (Criteria) this;
        }

        public Criteria andItemIdEqualTo(Integer value) {
            addCriterion("item_id =", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotEqualTo(Integer value) {
            addCriterion("item_id <>", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThan(Integer value) {
            addCriterion("item_id >", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("item_id >=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThan(Integer value) {
            addCriterion("item_id <", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanOrEqualTo(Integer value) {
            addCriterion("item_id <=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdIn(List<Integer> values) {
            addCriterion("item_id in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotIn(List<Integer> values) {
            addCriterion("item_id not in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdBetween(Integer value1, Integer value2) {
            addCriterion("item_id between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotBetween(Integer value1, Integer value2) {
            addCriterion("item_id not between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andMinPriceIsNull() {
            addCriterion("min_price is null");
            return (Criteria) this;
        }

        public Criteria andMinPriceIsNotNull() {
            addCriterion("min_price is not null");
            return (Criteria) this;
        }

        public Criteria andMinPriceEqualTo(BigDecimal value) {
            addCriterion("min_price =", value, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceNotEqualTo(BigDecimal value) {
            addCriterion("min_price <>", value, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceGreaterThan(BigDecimal value) {
            addCriterion("min_price >", value, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("min_price >=", value, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceLessThan(BigDecimal value) {
            addCriterion("min_price <", value, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("min_price <=", value, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceIn(List<BigDecimal> values) {
            addCriterion("min_price in", values, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceNotIn(List<BigDecimal> values) {
            addCriterion("min_price not in", values, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("min_price between", value1, value2, "minPrice");
            return (Criteria) this;
        }

        public Criteria andMinPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("min_price not between", value1, value2, "minPrice");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeIsNull() {
            addCriterion("additional_charge is null");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeIsNotNull() {
            addCriterion("additional_charge is not null");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeEqualTo(BigDecimal value) {
            addCriterion("additional_charge =", value, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeNotEqualTo(BigDecimal value) {
            addCriterion("additional_charge <>", value, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeGreaterThan(BigDecimal value) {
            addCriterion("additional_charge >", value, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("additional_charge >=", value, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeLessThan(BigDecimal value) {
            addCriterion("additional_charge <", value, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("additional_charge <=", value, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeIn(List<BigDecimal> values) {
            addCriterion("additional_charge in", values, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeNotIn(List<BigDecimal> values) {
            addCriterion("additional_charge not in", values, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("additional_charge between", value1, value2, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andAdditionalChargeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("additional_charge not between", value1, value2, "additionalCharge");
            return (Criteria) this;
        }

        public Criteria andServicingTimeIsNull() {
            addCriterion("servicing_time is null");
            return (Criteria) this;
        }

        public Criteria andServicingTimeIsNotNull() {
            addCriterion("servicing_time is not null");
            return (Criteria) this;
        }

        public Criteria andServicingTimeEqualTo(Date value) {
            addCriterion("servicing_time =", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeNotEqualTo(Date value) {
            addCriterion("servicing_time <>", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeGreaterThan(Date value) {
            addCriterion("servicing_time >", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("servicing_time >=", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeLessThan(Date value) {
            addCriterion("servicing_time <", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeLessThanOrEqualTo(Date value) {
            addCriterion("servicing_time <=", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeIn(List<Date> values) {
            addCriterion("servicing_time in", values, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeNotIn(List<Date> values) {
            addCriterion("servicing_time not in", values, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeBetween(Date value1, Date value2) {
            addCriterion("servicing_time between", value1, value2, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeNotBetween(Date value1, Date value2) {
            addCriterion("servicing_time not between", value1, value2, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaIsNull() {
            addCriterion("quotation_calculation_formula is null");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaIsNotNull() {
            addCriterion("quotation_calculation_formula is not null");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaEqualTo(String value) {
            addCriterion("quotation_calculation_formula =", value, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaNotEqualTo(String value) {
            addCriterion("quotation_calculation_formula <>", value, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaGreaterThan(String value) {
            addCriterion("quotation_calculation_formula >", value, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaGreaterThanOrEqualTo(String value) {
            addCriterion("quotation_calculation_formula >=", value, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaLessThan(String value) {
            addCriterion("quotation_calculation_formula <", value, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaLessThanOrEqualTo(String value) {
            addCriterion("quotation_calculation_formula <=", value, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaLike(String value) {
            addCriterion("quotation_calculation_formula like", value, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaNotLike(String value) {
            addCriterion("quotation_calculation_formula not like", value, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaIn(List<String> values) {
            addCriterion("quotation_calculation_formula in", values, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaNotIn(List<String> values) {
            addCriterion("quotation_calculation_formula not in", values, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaBetween(String value1, String value2) {
            addCriterion("quotation_calculation_formula between", value1, value2, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andQuotationCalculationFormulaNotBetween(String value1, String value2) {
            addCriterion("quotation_calculation_formula not between", value1, value2, "quotationCalculationFormula");
            return (Criteria) this;
        }

        public Criteria andOfferNameIsNull() {
            addCriterion("offer_name is null");
            return (Criteria) this;
        }

        public Criteria andOfferNameIsNotNull() {
            addCriterion("offer_name is not null");
            return (Criteria) this;
        }

        public Criteria andOfferNameEqualTo(Integer value) {
            addCriterion("offer_name =", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameNotEqualTo(Integer value) {
            addCriterion("offer_name <>", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameGreaterThan(Integer value) {
            addCriterion("offer_name >", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameGreaterThanOrEqualTo(Integer value) {
            addCriterion("offer_name >=", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameLessThan(Integer value) {
            addCriterion("offer_name <", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameLessThanOrEqualTo(Integer value) {
            addCriterion("offer_name <=", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameIn(List<Integer> values) {
            addCriterion("offer_name in", values, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameNotIn(List<Integer> values) {
            addCriterion("offer_name not in", values, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameBetween(Integer value1, Integer value2) {
            addCriterion("offer_name between", value1, value2, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameNotBetween(Integer value1, Integer value2) {
            addCriterion("offer_name not between", value1, value2, "offerName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIsNull() {
            addCriterion("customer_type is null");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIsNotNull() {
            addCriterion("customer_type is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeEqualTo(Integer value) {
            addCriterion("customer_type =", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeNotEqualTo(Integer value) {
            addCriterion("customer_type <>", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeGreaterThan(Integer value) {
            addCriterion("customer_type >", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_type >=", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeLessThan(Integer value) {
            addCriterion("customer_type <", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeLessThanOrEqualTo(Integer value) {
            addCriterion("customer_type <=", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIn(List<Integer> values) {
            addCriterion("customer_type in", values, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeNotIn(List<Integer> values) {
            addCriterion("customer_type not in", values, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeBetween(Integer value1, Integer value2) {
            addCriterion("customer_type between", value1, value2, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_type not between", value1, value2, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Integer value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}